﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-16 15:01:10
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;

namespace Portal
{


    public interface IProduct:IEntity
    {   
    
        [StringLength(255, ErrorMessage = "'NameEn'字符过长")]
        string NameEn {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        string Name {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'CategoryId'字符过长")]
        string CategoryId {get;set;}
        
    
        string DescriptionEn {get;set;}
        
    
        string Description {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'BigImage'字符过长")]
        string BigImage {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'NormalImage'字符过长")]
        string NormalImage {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'SmallImage'字符过长")]
        string SmallImage {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'ModelEn'字符过长")]
        string ModelEn {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Model'字符过长")]
        string Model {get;set;}
        
    
        bool IsRecommend {get;set;}
        
    
        long Sort {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        string Code {get;set;}
        
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        string Culture {get;set;}
        
    
        decimal Price {get;set;}
        
    
        decimal DiscountPrice {get;set;}
        
    
        long StockNumber {get;set;}
        
    
        long SoldNumber {get;set;}
        
    
        string Overview {get;set;}
        
    
        string OverviewEn {get;set;}
        
    
        string Parameters {get;set;}
        
    
        string ParametersEn {get;set;}
        
    }
   }



